@import './main.scss';

.shop-banner-wrap {
    height: 70px;
    padding: 20px;

    // background: ;
    a {
        display: inline-block;
        line-height: 70px;
        font-size: 3em;
        padding: 0 5px;
        border-radius: 0 35px 0 35px;
        color: white;
        background-color: #00000080;

        &:hover {
            color: white;
        }

    }
}

.shop-banner-wrap.rg1 {
    background-image: radial-gradient(circle at 0% 50%, rgba(96, 16, 48, 0) 9px, #661133 10px, rgba(96, 16, 48, 0) 11px), radial-gradient(circle at 100% 100%, rgba(96, 16, 48, 0) 9px, #661133 10px, rgba(96, 16, 48, 0) 11px), none;
    background-position: 0 10px, 0 0%, 0 0;
    background-size: 20px 20px;
}

.shop-banner-wrap.rg2 {
    background-color: lightblue;
    background-image: radial-gradient(circle at 0% 50%, rgba(96, 16, 48, 0) 9px, #661133 10px, rgba(96, 16, 48, 0) 11px), radial-gradient(circle at 100% 100%, rgba(96, 16, 48, 0) 9px, #661133 10px, rgba(96, 16, 48, 0) 11px), none;
    background-position: 0 10px, 0 0%, 0 0;
    background-size: 20px 20px;
}

.shop-banner-wrap.rg3 {
    background: radial-gradient(circle at 0% 2%, rgba(96, 16, 48, 0) 9px, #661133 10px, rgba(96, 16, 48, 0) 11px), radial-gradient(circle at 100% 100%, rgba(96, 16, 48, 0) 9px, #661133 10px, rgba(96, 16, 48, 0) 11px), none;
    background-size: 20px 20px;
}

.shop-banner-wrap.rg4 {
    background-color: #330000;
    background-image: radial-gradient(#890000 4%, #5B0000 9%, rgba(102, 0, 0, 0) 9%), radial-gradient(#890000 4%, #5B0000 8%, rgba(102, 0, 0, 0) 10%), radial-gradient(rgba(153, 0, 0, 0.8) 20%, rgba(102, 0, 0, 0)), radial-gradient(rgba(153, 0, 0, 0.8) 20%, rgba(102, 0, 0, 0)), radial-gradient(#660000 35%, rgba(102, 0, 0, 0) 60%), radial-gradient(#660000 35%, rgba(102, 0, 0, 0) 60%), radial-gradient(rgba(76, 0, 0, 0.7), rgba(102, 0, 0, 0)), radial-gradient(rgba(76, 0, 0, 0.7), rgba(102, 0, 0, 0)), linear-gradient(45deg, rgba(102, 0, 0, 0) 49%, #000000 50%, rgba(102, 0, 0, 0) 70%), linear-gradient(135deg, rgba(102, 0, 0, 0) 49%, #000000 50%, rgba(102, 0, 0, 0) 70%);
    background-position: 0 0px, 50px 50px, 50px 0px, 0 50px, 50px 0px, 100px 50px, 0 0px, 50px 50px, 0 0px, 0 0;
    background-size: 100px 100px;
}

.shop-banner-wrap.rg5 {
    background-color: #6d695c;
    background-image: repeating-linear-gradient(120deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .1) 1px, transparent 1px, transparent 60px), repeating-linear-gradient(60deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .1) 1px, transparent 1px, transparent 60px), linear-gradient(60deg, rgba(0, 0, 0, .1) 25%, transparent 25%, transparent 75%, rgba(0, 0, 0, .1) 75%, rgba(0, 0, 0, .1)), linear-gradient(120deg, rgba(0, 0, 0, .1) 25%, transparent 25%, transparent 75%, rgba(0, 0, 0, .1) 75%, rgba(0, 0, 0, .1));
    background-size: 70px 120px;
}

.shop-banner-wrap.rg6 {
    background-image: radial-gradient(circle at 100% 50%, transparent 20%, rgba(255, 255, 255, 0.3) 21%, rgba(255, 255, 255, 0.3) 34%, transparent 35%, transparent), radial-gradient(circle at 0% 50%, transparent 20%, rgba(255, 255, 255, 0.3) 21%, rgba(255, 255, 255, 0.3) 34%, transparent 35%, transparent);
    background-color: slategray;
    background-size: 75px 100px;
    background-position: 0 0%, 0 -50px;
}


.detial-nav-wrap {
    height: 40px;
    background-color: #F2F2F2;

    ul {
        display: flex;
        line-height: 40px;

        li {
            padding: 0 5px;
        }
    }
}

.product-detial {
    position: relative;
    margin-top: 10px;
    margin-bottom: 10px;
    min-height: 500px;

    .img-wrap {
        position: relative;
        width: 352px;

        .min-img {
            position: relative;
            border: 1px solid #eee;
            margin-bottom: 20px;
            height: 350px;
            width: 350px;

            img {
                height: 350px;
            }
        }

        .img-bg {
            width: 352px;
            position: absolute;
            bottom: 0;
            left: 0;
            z-index: 5;
            background: url(../img/detial-bg.png) no-repeat;
            height: 51px;

            p {
                color: #fff;
                white-space: nowrap;
                text-align: center;
                position: absolute;
                top: 50%;
                left: 50%;
                transform: translate(-50%, 0);
            }

        }
    }

    .info-wrap {
        width: 590px;
        float: left;
        margin-left: 30px;

        .p-name {
            font: 700 16px Arial, "microsoft yahei";
            color: #666;
            padding-top: 10px;
            line-height: 28px;
            margin-bottom: 5px;

            img {
                vertical-align: -2px;
                margin-right: 3px;
            }
        }

        .pinfo {
            margin-top: 140px;
            min-height: 100px;
            padding-bottom: 5px;
            padding: 10px 0 0;
            background: #f3f3f3;

            .jdprice {
                position: relative;
                margin-bottom: 5px;

                .dt {
                    line-height: 22px;
                    float: left;
                    padding-left: 10px;
                    font-family: simsun;
                    color: #999;
                }

                .dd {
                    margin-left: 70px;

                    .p-price {
                        font-family: "microsoft yahei";
                        margin-right: 10px;

                        span {
                            font-size: 16px;
                        }

                        .price {
                            font-size: 22px;
                        }
                    }

                    .p-price .price {
                        color: #e4393c;
                    }

                    .plus-price {
                        .p-price-plus {
                            font: 16px "microsoft yahei";
                            position: relative;
                            bottom: -2px;
                            color: #333;
                        }

                        .text {
                            margin-left: 5px;
                            margin-right: 8px;
                        }
                    }
                }
            }
        }

        .cart-operate {
            padding-bottom: 5px;
            margin-top: 10px;
            margin-bottom: 20px;
            padding: 0 10px;

            .o-amount {
                width: 58px;
                height: 44px;
                overflow: hidden;
                border: 1px solid #ccc;
                position: relative;
                margin-right: 10px;
                float: left;

                .wrap-input {
                    input {
                        display: block;
                        width: 43px;
                        height: 42px;
                        line-height: 42px;
                        position: absolute;
                        top: 1px;
                        left: 0;
                        border: none;
                        border: 0;
                        text-align: center;
                    }

                    a {
                        display: block;
                        width: 15px;
                        text-align: center;
                        height: 22px;
                        line-height: 22px;
                        overflow: hidden;
                        background: #f1f1f1;
                        color: #666;
                        position: absolute;
                        right: -1px;
                        border: 1px solid #ccc;
                    }

                    .btn-reduce {
                        bottom: -1px;
                    }

                    .btn-add {
                        top: -1px;
                    }
                }


            }

            .add-cart {
                display: inline-block;
                margin-left: 100px;
                height: 46px;
                line-height: 46px;
                padding: 0 26px;
                font-size: 18px;
                font-family: "microsoft yahei";
                font-weight: 700;
                background-color: #df3033;
                color: #fff;
                text-align: center;
                cursor: pointer;
            }
        }
    }
}

.big-img {
    display: none;
    position: absolute;
    left: 351px;
    top: 0;

    border: 1px solid #eee;
    height: 350px;
    width: 350px;
    overflow: hidden;
    z-index: 4;

    img {
        position: absolute;
        width: 700px;
    }
}

.zoom-item {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 175px;
    height: 175px;
    background-color: yellow;
    opacity: 0.3;
    cursor: move;
    z-index: 10;
}